home *** CD-ROM | disk | FTP | other *** search
- Path: uni-paderborn.de!usenet
- From: laire@basis.owl.de (Ralph Schmidt)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FindTask() VERY IMPORTANT
- Date: 8 Mar 1996 08:38:36 GMT
- Organization: Universitaet Paderborn, Germany
- Message-ID: <4hormc$grt@news.uni-paderborn.de>
- References: <4hni69$8ub@tempo.univ-lyon1.fr> <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@ <4hm7qm$otm@news.uni-paderborn.de> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>?╨
- NNTP-Posting-Host: basis.owl.de
- In-Reply-To: <4hni69$8ub@tempo.univ-lyon1.fr>
- X-Newsreader: NewsFlash [$Revision: 2.104 $] NF-U-00029
-
- On 03/07/96, David Screve wrote:
- >Berend Ozceri (bo24+@andrew.cmu.edu) wrote:
- >: Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
- >: VERY IMPORTANT by Marco Nelissen@xs1.xs4al
- >: > Ralph Schmidt (laire@basis.owl.de) wrote:
- >: > : Never ever use SysBase->ThisTask for your programs. It will be
- >: > : banned/forbidden in the next OS release.
- >: >
- >: > Says who? Why would a future OS not use this field?
- >
- >: Any changes in the Exec micro-kernel, especially in the scheduler,
- >: especially leaning towards multiprocessor support would make that field
- >: obsolete.
- >
- > Regarding the scheduling code, I think there is no reason
- >to delete this information. Yes, TCNestID, and such other could be
- >"Schedule Dependant", but on every multitask OS, there is only one task
- >active on a time (except on multi-processor computer, but this problem
- >can be solved by protecting memory).
- >
- >
- >David
-
- Is it really necessary to argue about it...
-
- 1) I didn┤t say that old Apps will break i only said that you should
- use FindTask(NULL); NOW to make the life easier for the emulator.
- Is that so hard to accept ?
- The same for all fucked up FORBID,PERMIT,ENABLE,DISABLE macros.
-
- 2) No...the MMU is no solution because you would have to readprotect
- the whole execbase then because of the mmu page size that would
- cause a lot slowdown.
-
- 3) You can assume that for the next Exec version a PPC program is
- NOT allowed to peek around in the execbase...it┤s taboo.
-
- 4) I told that so people can adapt their programming style.
-
-
- --
- --
- Ralph Schmidt,laire@popmail.owl.de,NextMail welcome
-